package com.xiaoshuidi.cloud.module.iot.dal.model.callback;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

/**
 * @BelongsProject: lease-module-iot
 * @BelongsPackage: spring.cloud.sdiot.callback.dataaccess.vo
 * @Author: James
 * @CreateTime: 2023-06-17  16:07
 * @Description: TODO
 * @Version: 1.0
 */
public class SendMessageVo {
    /**
     * 房间id
     */
    @Schema(description = "房间id")
    private String roomId;
    /**
     * 扣费金额
     */
    @Schema(description = "扣费金额")
    private Double amount;

    @Schema(description = "分摊金额")
    private Double shareAmount;
    /**
     * 消费时间
     */
    @Schema(description = "消费时间")
    private Date tradeTime;
    /**
     * 设备名
     */
    @Schema(description = "设备名")
    private String device;
    /**
     * 消息id, 扣费幂等判断
     */
    @Schema(description = "消息id")
    private String msgId;

    /**
     * 扣费类型
     */
    @Schema(description = "扣费类型")
    private String charging;

    public String getCharging() {
        return charging;
    }

    public void setCharging(String charging) {
        this.charging = charging;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public Double getShareAmount() {
        return shareAmount;
    }

    public void setShareAmount(Double shareAmount) {
        this.shareAmount = shareAmount;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Date getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(Date tradeTime) {
        this.tradeTime = tradeTime;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

}
